package com.oauth.oauth.VO;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class OAuth2OpenCheckTokenRespVO {

    @JsonProperty("user_id")
    private Long userId;

    @JsonProperty("user_type")
    private Integer userType;

    @JsonProperty("tenant_id")
    private Long tenantId;

    @JsonProperty("client_id")
    private String clientId;

    private List<String> scopes;

    @JsonProperty("access_token")
    private String accessToken;

    private Long exp;

    @JsonProperty("active")
    private boolean  active;


}
